package cn.chair.entity;

import life.innovation.annotation.orm.Entity;
import life.innovation.annotation.orm.Id;
import life.innovation.model.BaseModel;

@Entity(autoIncrementedKey = false)
public class App extends BaseModel {

    @Id
    private String appId;
    private int orgId;
    private String name;
    private String appKey;
    private String notifyUrl;
    private int allowCoupon;
    private int allowCard;

    public String getAppId() {
        return appId;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getOrgId() {
        return orgId;
    }

    public void setOrgId(int orgId) {
        this.orgId = orgId;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public int getAllowCoupon() {
        return allowCoupon;
    }

    public void setAllowCoupon(int allowCoupon) {
        this.allowCoupon = allowCoupon;
    }

    public int getAllowCard() {
        return allowCard;
    }

    public void setAllowCard(int allowCard) {
        this.allowCard = allowCard;
    }
}
